import request from "@/utils/request.js"
const state = {
	classifyList:[]
}
const mutations = {
	SET_CLASSIFYLIST(state,classifyList){
		state.classifyList = classifyList
	}
}
const actions = {
	async getclassifyList({commit}){
		let res = await request("mobile/classify")
		console.log(res.data)
		commit("SET_CLASSIFYLIST",res.data)
	}
}
const getters = {
}

export default {
	namespaced: true,
	state,
	mutations,
	actions,
	getters
}
